//
//  GVMessageVoiceView.m
//  GmallVIP
//
//  Created by yemeihua on 15/9/11.
//  Copyright (c) 2015年 yemeihua. All rights reserved.
//

#import "GVMessageVoiceView.h"

@interface GVMessageVoiceView()

@end

@implementation GVMessageVoiceView

- (instancetype)init
{
    if(self = [super init])
    {
        self.userInteractionEnabled = YES;
        
        _playImageView = [[UIImageView alloc] init];
        _playImageView.userInteractionEnabled = YES;
        _playImageView.contentMode = UIViewContentModeCenter;
        _playImageView.animationDuration = 0.95;
        
        [self addSubview:_playImageView];
        
        _durationLabel = [[UILabel alloc] init];
        _durationLabel.font = [UIFont systemFontOfSize:13];
        _durationLabel.textColor = [UIColor whiteColor];
        [self addSubview:_durationLabel];
    }
    return self;
}

@end
